package com.ruoyi.dm.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 无线电站点
 */
@TableName(value = "RADIO_STATION_INFO")
@Data
public class RadioStationPO {

    @TableId(value = "id",type = IdType.AUTO)
    @Excel(name = "角色序号",type = Excel.Type.IMPORT)
    private Long id;

    @TableField("NAME")
    @Excel(name = "站点名字", cellType = Excel.ColumnType.STRING)
    private String name;

    @TableField("DETAIL")
    @Excel(name = "描述", cellType = Excel.ColumnType.STRING)
    private String detail;

    @TableField("LAT")
    @Excel(name = "纬度", cellType = Excel.ColumnType.STRING)
    private String lat;

    @TableField("LON")
    @Excel(name = "经度", cellType = Excel.ColumnType.STRING)
    private String lon;

    @TableField("HIGHT")
    @Excel(name = "高度（km）", cellType = Excel.ColumnType.STRING)
    private String hight;

    //数据开始
    @TableField("START_YEAR")
    @Excel(name = "数据开始时间(年)", cellType = Excel.ColumnType.STRING)
    private String startYear;

    //数据结束
    @TableField("END_YEAR")
    @Excel(name = "数据结束时间(年)", cellType = Excel.ColumnType.STRING)
    private String endYear;

    //总时间
    @TableField("TOTAL_DAY")
    @Excel(name = "观测时间总数(日)", cellType = Excel.ColumnType.STRING)
    private Integer totalDay;

    @TableField("CREATE_DATE")
    @Excel(name = "创建时间",type = Excel.Type.EXPORT,dateFormat="yyyy-MM-dd")
    private LocalDateTime createDate;



}
